function vectorList = cfdVectorList(varargin)
%--------------------------------------------------------------------------
%  Written by LiuHaHa @ NWPU, 2022 01 
%  Contact me at: liuzhikan@mail.nwpu.edu.cn
%==========================================================================
% Routine Description:
%   This function initializes a Vector list
%--------------------------------------------------------------------------

if isempty(varargin)
    vectorList = [];
elseif length(varargin)==1
    n = varargin{1};
    %
%     vectorList = zeros(n, 2);  %2D
    vectorList = zeros(n, 3);%3D
elseif length(varargin)==2
    n     = varargin{1};
    value = varargin{2}; 
    %
%     vectorList = zeros(n, 2);%2D
    vectorList = zeros(n, 3);%3D
    for i=1:n
        vectorList(i,:) = value;
    end
end